package fr.umlv.ig.listener;

import fr.umlv.ig.event.TrainEvent;
import fr.umlv.ig.model.MetroModel;


/**
 * This interface defines methods for listeners which will be informed
 * by a {@link MetroModel} when a train changed.

 * @author Jenseric Catbagan
 * @author William Choy
 *
 */
public interface TrainListener {
	/**
	 * Performed when a train changed occurred.
	 * @param event the event concerned by the changed.
	 */
	public void trainChange(TrainEvent event);
}
